package net.minecraft.src;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import net.minecraft.src.NetHandler;
import net.minecraft.src.Packet;

public class Packet70Bed extends Packet {

   public static final String[] field_25020_a = new String[]{"tile.bed.notValid", null, null};
   public int field_25019_b;


   public Packet70Bed() {
      super();
   }

   public void readPacketData(DataInputStream var1) throws IOException {
      this.field_25019_b = var1.readByte();
   }

   public void writePacketData(DataOutputStream var1) throws IOException {
      var1.writeByte(this.field_25019_b);
   }

   public void processPacket(NetHandler var1) {
      var1.func_25118_a(this);
   }

   public int getPacketSize() {
      return 1;
   }

}
